project(livecaster)
cmake_minimum_required(VERSION 2.6)
set(CMAKE_BUILD_TYPE debug)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
find_package(Qt4 REQUIRED)
find_package(LIBMemCached REQUIRED)
SET(QT_USE_QTNETWORK true)
SET(QT_USE_QTXML true)
include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
include_directories(${LIBMemCached_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src)
add_subdirectory(src)
add_subdirectory(test)
